Faster Phong Shading via Angular Interpolation

نویسندگان

  • Alfons A. M. Kuijk
  • Edwin H. Blake
چکیده

One of the most successful algorithms that brought realism to the world of 3D image generation is Phong shading. It is an algorithm for smooth shading meshes of planar polygons used to represent curved surfaces. The level of realism and depth perception that can be obtained by Phong shading is attractive for 3D CAD applications and related areas. However, per pixel computation costs which were too high and/or artifacts, introduced by some of the more efficient evaluation methods and apparent only when displaying moving objects, are major factors that blocked the common usage of Phong shading in highly interactive applications. In this paper we present angular interpolation for Phong shading planar polygons. Angular interpolation was a method especially designed to meet requirements as imposed by special purpose hardware we developed1, but turned out to be generally applicable. The angular interpolation method appears to be very efficient and reduces artifacts when displaying moving objects. Ideally a shading algorithm imposes no need for subdivision of patches as presented by the solid modelling system. Shading calculation via angular interpolation yields such an ideal algorithm. We will describe two alternative evaluation methods that trade off evaluation cost against level of accuracy. They both can handle light source and view point at arbitrary distances, but Mer in level of accuracy. As a consequence these alternative evaluation methods do impose restrictions on the topology of patches and light sources. However, generally, the limitations imposed by these alternative shading methods are much more liberal than the limitations on patch size imposed by the geometry. The most economic evaluation method we present can incrementally compute the colour intensity along a scanline by two additions per pixel. The methods presented are generally applicable and can easily be implemented in hardware.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Shading By Fast Bi-Quadratic Normal Vector Interpolation

The use of Bezier curves and Bezier triangles has been extensively explored in the field of computer graphics. The purpose of this paper is to show that Bezier triangles and curves can be used for reducing the cost of Biquadratic Phong shading. A shading algorithm has been proposed which uses quadratic Bezier triangle’s blending functions for performing quadratic interpolation of normal vector ...

متن کامل

Fast Near Phong-Quality Software Shading

Quadratic shading has been proposed as a technique giving better results than Gouraud shading, but which is substantially faster than Phong shading. Several techniques for fitting a second order surface to six points have been proposed. We show in this paper how an approximation of the mid-edge samples can be done in a very efficient way. An approximation of the mid-edge vectors are derived. Se...

متن کامل

Precision Normals: Beyond Phong

Almost all graphics architectures today support Gouraud shading, linear color interpolation between vertices; system designers aim toward a Phong shading model, linear interpolants of surface normals with a lighting model that supports both diffuse and specular components, as a superior means of rendering accurate images. However, the Phong model still retains serious artifacts. In this paper, ...

متن کامل

Improved Shading Performance by Avoiding Vector Normalization

Phongs illumination model requires unit length vectors. The surface normal has to be normalized due to the linear interpolation, and if we use single point light sources or a xed view point, we have to normalize the vectors pointing to the light source and to the viewer. Unfortunately, normalization is a relatively costly operation. One of the main reasons for this is the square root involved. ...

متن کامل

Hardware Implementation of Phong Shading Using Spherical Interpolation

Computer image generation systems often represent curved surfaces as a mesh of planar polygons that are shaded to restore a smooth appearance. In software rendering Phong shading has been one of the most successful algorithms, because it can realistically handle specular materials. Since it requires the rendering equation to be evaluated for each pixel, its hardware support poses problems. This...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. Graph. Forum

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1989